//轮播
var typeSwiper = new Swiper('.type-swiper', {
		freeMode : true,
		slidesPerView:'5',
})
window.onscroll = function(){
	//懒加载
	lazyLoad($(".lazy[data-load='false']"));
}
//点击分类
$(".horizontal-swiper").on("click","a",function(){
	var _this = $(this);
	$(this).parents("ul").each(function(){
		$(this).find(".active").removeClass("active");
		_this.find("span").addClass("active");
	})
})
